﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DAO;
using DTO;

namespace BUS
{
    public class LoaiPhongBUS
    {
        public static DataTable GetAll()
        {
            return LoaiPhongDAO.GetAll();
        }
        public static void InsertLoaiPhong(LoaiPhongDTO lp)
        {
            LoaiPhongDAO.InsertLoaiPhong(lp);
        }
        public static DataTable LoaiPhongTheoTen(string TenLoaiPhong)
        {
            return LoaiPhongDAO.LoaiPhongTheoTen(TenLoaiPhong);
        }
        public static void UpdatetLoaiPhong(LoaiPhongDTO lp)
        {
            LoaiPhongDAO.UpdatetLoaiPhong(lp);
        }
    }
}
